<?PHP 
$userid = isset($_COOKIE["gwt_userid"]) ? $_COOKIE["gwt_userid"] : "";
$zfb = isset($_COOKIE["gwt_zfb"]) ? $_COOKIE["gwt_zfb"] : "";
$phone = isset($_COOKIE["gwt_phone"]) ? $_COOKIE["gwt_phone"] : "";
$email = isset($_COOKIE["gwt_email"]) ? $_COOKIE["gwt_email"] : "";
?>

<?PHP
include("common/connect.php");
include("../../public/common.php");
$q = trim(CheckUrlParamNoDie("q"));
$catid = CheckUrlParamNoDie("catid");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta name ="keywords" content="购物兔,购物兔返现网,购物兔省钱浏览器,聚划算返利,返现网,返利网,返利,淘宝网返利,商城返利,京东返利,淘宝网女装返利,淘宝网女鞋打折,淘宝网男装促销,淘宝网包包秒杀,淘宝化妆品赠送"/>
<meta name="Description" content="购物兔是国内最知名的购物省钱浏览器，返现最快，当天内直接到账，返现最安全，100%不漏单；无论您在淘宝网，还是京东、当当等其他商城购物，即使是促销价也能返现，实现折上再打折，真正省钱，是您网络购物省钱的首选！" />
<title>购物兔返现网-去淘宝网、京东、当当等商城购物，确认收货即可拿现金，赚兔币，换礼品！</title>
<meta name="robots" content="index, follow" /> 
<meta name="googlebot" content="index, follow" />
<link type="text/css" rel="stylesheet" href="http://fanli.gouwutu.com/template/default/css/malllist.css" />
<link type="text/css" rel="stylesheet" href="../css/global.css" />
<script language="javascript">
function OnAdjust()
{
	if (document.getElementById("q").value == '请输入商城的名称...')
		document.getElementById("q").value = '';
}
</script>
</head>
<body class="gMalllist">
<?php
include("../header.php");
?>
<div id="Outside">
	<form onsubmit="OnAdjust()" method="get" action="?opt=search">
        <div id="nv">
        	<h1><a href="http://www.gouwutu.com"><img title="购物兔，返现就这么简单" alt="购物兔，返现就这么简单" src="../images/sslogo.gif"></a></h1>
    		<a href="http://www.gouwutu.com/new">淘宝返利</a>
    		<b>商城返利</b>
  		</div>
        <div id="fm">
          <p class="gwt_ss"><input type="text" value="请输入商城的名称..." accesskey="s" onBlur="if(this.value==''){this.value='请输入商城的名称...';this.style.color = '#BABABA';}" onFocus="if(this.value=='请输入商城的名称...'){this.value='';this.style.color = '#333';} this.select();" id="q" name="q" class="smallinput"></p>
          <p class="btn_wr"><input type="submit" value="" class="sssp" name="Submit"></p>
      	</div>
        <div style="position:absolute; top:76px; right:0; z-index:1111; width:305px; height:44px;"><a title="点此进入商城返利新手指导" target="_blank" href="http://www.gouwutu.com/faq/help_faq3_01.html"><img alt="点此进入商城返利新手指导" src="../images/mall.jpg"></a></div>
 	</form>
<?PHP
if ($q != "") { ?>
<div class="bibimall_left">
    	<div class="bibimall_title1">&nbsp;&nbsp;&nbsp;&nbsp;"<span style="color:#fa5f00;"><?php echo $q; ?></span>"相关购物网站搜索结果</div>
    	<div class="bibimall_con">
        	<ul>
            <?PHP
            $res = mysql_query( "select * from duoduo_mall where sort > 0 and name like '%$q%' order by sort desc" );
			if (mysql_num_rows($res)>0) {
				while( $res && $row = mysql_fetch_assoc( $res )) {
			?>
			<li>
				<div class="malllogo"><a href="mall.php?id=<?PHP echo $row["id"] ?>"><img height="45" width="100" src="upload/<?PHP echo $row["logo"] ?>"></a></div>
				<div class="mallname"><?PHP echo $row["name"] ?></div>
				<div class="mallfan">最高返：<font style="font-weight:bold; color:#FF0000"><?PHP echo $row["fan"] ?></font></div>
			</li>
			<?PHP } 
			 } else {
			 echo "<div class='scjj'>抱赚没找到您要查找的商城，请检查您输入的商城名称是否正确。</div>";
			 }
			?>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
<?PHP } ?>

<?PHP 
if($userid != "")
{
	$res = mysql_query( "select * from mall_recent,duoduo_mall where duoduo_mall.id=mall_recent.mall_id and user_id=$userid order by mall_recent.time desc limit 6" );
	if (mysql_num_rows($res)>0)
	{
?>
	<!-----最近使用的商城----->
    <div class="GWT-Menu">
    	<div class="Menutop"></div>
    	<div class="TJmalllist">
        	<ul>
            <?PHP while( $res && $row = mysql_fetch_assoc( $res )) { ?>
            	<li>
				<p class="malllogo"><img height="45" width="100" src="upload/<?PHP echo $row["logo"] ?>"></p>
				<p class="mallname"><?PHP echo $row["name"] ?></p>
				<p class="mallfan">最高返：<font style="font-weight:bold; color:#FF0000"><?PHP echo $row["fan"] ?></font></p>
                <a href="mall.php?id=<?PHP echo $row["id"] ?>"></a>
			</li>
            <?PHP } ?>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
<?PHP 
	}
} 
?>
<div id="main">
	<iframe src="http://www.gouwutu.com/new/mall/malllist.php" width="950" height="530" scrolling="no" frameborder="0"></iframe> 
	<div class="clear"></div>
</div>

</div>
<div style="overflow: hidden; width: 950px; margin:0 auto; padding:20px 0; text-align: center;">
	<p id="lh"><a href="http://www.gouwutu.com/download.php?opt=zip" target="_blank">下载购物兔</a> | <a href="http://www.gouwutu.com/union" target="_blank">加入购物兔联盟</a> | <a href="http://www.gouwutu.com/faq/help_faq1_01.html#n1-1" target="_blank">新手指导</a> | <a href="http://www.tusijie.com" target="_blank">兔丝街</a> | <a href="http://www.gouwutu.com/aboutus.html" target="_blank">关于购物兔</a></p>
    <p id="cp"> Copyright ©2008-2011  购物兔返利网  版权所有   <a target="_blank" href="http://www.miibeian.gov.cn">粤ICP备11009208号</a> </p>
</div>
</body>
</html>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-20984072-1");
pageTracker._trackPageview();
} catch(err) {}</script>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F7eb75a7b189f4a709dead85bc20eb0dd' type='text/javascript'%3E%3C/script%3E"));
</script>

